#ifndef LOGVIEWERDIALOG_H
#define LOGVIEWERDIALOG_H

#include <QDialog>

class QTextEdit;
class QPushButton;

class LogViewerDialog : public QDialog
{
    Q_OBJECT

public:
    explicit LogViewerDialog(const QString& logText, QWidget* parent = nullptr);

private slots:
    void copyToClipboard();
    void saveToFile();

private:
    QTextEdit* textEdit;
    QPushButton* copyButton;
    QPushButton* saveButton;
};

#endif // LOGVIEWERDIALOG_H
